package structure.Decorator;

/**
 * Created by LYJ on 2016/10/19.
 * 装饰角色
 */
public abstract class Condiment extends Pancake {
    public abstract String getName();
    public void sold(){
        System.out.println(getName()+" : "+getPrice());
    }
}
